 <p>
    <b>类 别</b><br />
    <%= f.select :category_id,Category.find(:all ,:order =>"position ASC").collect { |c| [c.name,c.id]} %>
	<%= link_to "新增类别",new_category_path %>
  </p>

  <p>
    <b>中文名</b><br />
    <%= f.text_field :cn_name %>
  </p>

  <p>
    <b> 英文名</b><br />
    <%= f.text_field :en_name %>
  </p>


  <p>
    <b>单价</b><br />
    <%= f.text_field :per_cost %>
  </p>
  <p>
    <b>产品下限数量</b><br />
    <%= f.text_field :least_amount %>
  </p>
  <p>
    <b>校正数量</b><br />
    <%= f.text_field :total_pre %>
	<%#= f.text_field :total_pre %>
  </p>	
  <p>
    <b>目前库存数量</b><br />
    <%= f.text_field :remaining,:disabled => 'disabled' %>
	<%#= f.text_field :total_pre %>
  </p>
   <p>
    <b>库存是否有货</b><br />
    有:<%= f.radio_button :be_stopped,'false' %><br/>
    无:<%= f.radio_button :be_stopped,'true' %>
  </p>



 